<?php

namespace App\Listeners;

use App\Events\EventLab;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;

class LabListener
{
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    /**
     * Handle the event.
     *
     * @param  EventLab  $event
     * @return void
     */
    public function handle(EventLab $event)
    {
        //
        print '.......'.$event->eventType . '...触发了';
        //return false;//会提前结束掉后面的监听器
    }
}
